/* @tailwind base; */
@tailwind components;
@tailwind utilities;

@layer components {
}

/* 自定义 icon-only 时的 icon 尺寸 */

/* Default */
.gui-btn-icon-only {
  @apply inline-flex items-center justify-center text-base;
}

/* Large */
.gui-btn-lg.gui-btn-icon-only {
  @apply text-lg;
}

/* Small */
.gui-btn-sm.gui-btn-icon-only {
  @apply text-sm;
}

/* 自定义 loading icon */
.gui-btn.gui-btn-loading,
.gui-btn .gui-btn-loading-icon {
  @apply inline-flex items-center justify-center;
}

.gui-btn .gui-btn-loading-icon svg.iconify.iconify--gitee {
  @apply animate-spin;
}

.gui-btn .gui-btn-loading-icon {
  @apply mr-2;
}

.gui-btn.gui-btn-icon-only .gui-btn-loading-icon {
  @apply mr-0;
}
